package com.woniuxy.bankb.service.impl;

import com.woniuxy.bankb.mapper.BankBMapper;
import com.woniuxy.bankb.service.BankBService;
import com.woniuxy.commons.entity.Bank;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @Author zhangyong
 * @Date 2021/8/9 0009下午 2:46
 */
@Service
public class BankBServiceImpl implements BankBService {

    @Resource
    private BankBMapper bankBMapper;

    @Transactional
    @Override
    public int update(Bank bank) {
        return bankBMapper.update(bank);
    }
}
